﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News_View.aspx.cs" Inherits="Ajax.Web.News_View"
    EnableViewState="false" %>

<%@ Register Src="~/Control/Top.ascx" TagName="top" TagPrefix="AjaxControl" %>
<%@ Register Src="~/Control/Footer.ascx" TagName="footer" TagPrefix="AjaxControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>
        <%=model.Title %>
        -
        <%=webset.WebName %></title>
    <%=AddMetaInfo(webset.WebKeywords,webset.WebDescription,"") %>
    <link type="text/css" rel="stylesheet" href="css/style.css" />
    <link href="images/library/msg.css" rel="stylesheet" type="text/css" />
    <link href="css/custom-theme/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>

    <script type="text/javascript" src="images/library/msg.js"></script>

</head>
<body id="news">
    <form id="form1" runat="server">
    <!--Head.Start-->
     <AjaxControl:top ID="topControls" runat="server" />
    <!--Head.End-->
    <div class="main">
        <!--left.start-->
        <div class="pleft">
            <dl class="p1">
                <dt><strong>栏目导航</strong></dt>
                <dd>
                    <ul class="b1">
                        <%=Ajax.Web.UI.Channel.ViewTxtList(0, 1, "News")%>
                    </ul>
                </dd>
            </dl>
            <dl class="p1 mtop">
                <dt><strong>热点新闻</strong></dt>
                <dd>
                    <ul class="b2">
                        <%=Ajax.Web.UI.Article.ViewTxtList(8, 30, 0, "", "IsHot=1 and IsLock=0", "AddTime desc")%>
                    </ul>
                </dd>
            </dl>
        </div>
        <!--left.end-->
        <!--right.start-->
        <div class="pright">
            <div class="prplace">
                <a href="Index.html">主页</a> &gt; <a href="News.html">新闻资讯</a> &gt;
                <%=Ajax.Web.UI.Channel.ViewChannelTitle(model.ClassId)%>
                &gt;
            </div>
            <div class="pageInfo">
                <h1>
                    <%=model.Title %></h1>
                <div class="note">
                    作者：<%=model.Author %>
                    来源：<%=model.Form %>
                    浏览数：<%=model.Click %>
                    发布时间：<%=model.AddTime.ToString() %></div>
                <%=model.Content %>
            </div>
        </div>
        <!--right.end-->
    </div>
    <!--footer Start-->
    <AjaxControl:footer ID="Footer" runat="server" />
    <!--footer End-->
    </form>
</body>
</html>
